BEGIN;
	CREATE TABLE categories(
		id SERIAL PRIMARY KEY,
		name VARCHAR NOT NULL
	);
	CREATE UNIQUE INDEX categories_name_uniqueness ON categories (lower(name));
END;
